
#ifndef WIN_NT_H
#define WIN_NT_H
#include "defines.h"

// core functions
bool shell_init(DuiWinManager *mgr, int w, int h, const char *title, int flags);
void shell_loop(DuiWinManager *mgr);
void shell_quit(DuiWinManager *mgr);

// window basic settings
void shell_win_set_transparent(DuiWinManager *mgr, DuiColor color, bool useAlpha);
void shell_win_move(DuiWinManager *mgr, int x, int y);
void shell_win_size(DuiWinManager *mgr, int w, int h);
void shell_win_title(DuiWinManager *mgr, const char *title);
void shell_win_show(DuiWinManager *mgr, bool show, bool isMinimize);
void shell_win_center(DuiWinManager *mgr);
void shell_win_set_icon(DuiWinManager *mgr, const char *icon);
void shell_win_set_cursor(DUI_CURSOR_STYLE cursor);

int utf16_to_utf8(const wchar_t *utf16, char *utf8, int len);
int utf8_to_utf16(const char *utf8, wchar_t *utf16, int len);

#endif